package com.zoke.file.sample;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.zoke.file.FileHelper;
import com.zoke.file.StorageHelper;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        //TODO:初始化应该使用FileConfig配置信息
        FileHelper.BIGFILE.setBaseDirName(getApplicationContext(), "FileHelperDemo");
        FileHelper.BIGFILE.switchTo(getApplicationContext(), StorageHelper.CARD_EXT);
    }
}
